<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>index</title>
    <style>
        .container {
              /* 让容器占满整个视口 */
              width: 100vw;
              height: 100vh;
              /* 启用 Flexbox */
              display: flex;
              /* 水平居中 */
              justify-content: center;
              /* 垂直居中 */
              align-items: center;
              /* 可选：移除默认边距 */
              margin: 0;
              padding: 0;
            }
    </style>
</head>
<body class="container">
    <img src="icon.png" alt="icon" id="imgs">
</body>
<script>
</script>
</html>